package com.leased.service;

import com.leased.exception.DatabaseException;
import com.leased.pojo.UserLoginLimit;

import java.util.List;

/**
 * Created by shencx on 2017/7/28.
 */
public interface UserLoginLimitService {

    Integer addUserLoginLimitInfo(UserLoginLimit userLoginLimit) throws DatabaseException;

    boolean updateUserLoginLimitInfo(UserLoginLimit userLoginLimit) throws DatabaseException;

    List<UserLoginLimit> fetchUserLoginLimitList(Integer userId, Integer userType) throws DatabaseException;
}
